package com.example.demo.mapper;

import com.example.demo.pojo.User;
import com.example.demo.pojo.Weather;

import java.util.List;


public interface UserMapper {

     User loginByPhone(String phone, String password);

     List<User> Test();

     int insertuser(String phone, String username, String password, String usermail);

     int deleteuser(String phone, String password);

     int rename( String phone,String username, String password);

     int isRegister(String phone);

     int isRegisterByMail(String usermail);

     int insertWeatherdata(String city, String weather, String temperature, String humidity, String winddirection, String windpower, String reporttime);

     Weather selectWeatherdata_reporttime(String reporttime);
}
